/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.dao;

import java.util.List;

import com.yuhanginfo.common.persistence.CrudDao;
import com.yuhanginfo.common.persistence.annotation.MyBatisDao;
import com.yuhanginfo.modules.sys.entity.Parts;

/**
 * 物料管理DAO接口
 * @author yangs
 * @version 2017-09-28
 */
@MyBatisDao
public interface PartsDao extends CrudDao<Parts> {

	List<Parts> selectList();

	Parts selectByCode(String code);
	
	Parts getNameByCode(String code);

	List<Parts> partMainList(Parts parts);

	Parts selectByPartsCode(String code);

	List<Parts> setByCode(String codes);

	
	
}